public class Test_work02 {
	
	public static void main(String[] args) {
		
			int i = 5;
			double d =3.14;
			short s = (short)(i + d);
			System.out.print(s);
	}

}